
/*
 *
 * All Rights Reserved.
 */
package com.model.demo.designmodel.proxy.staticproxy;

/**
 * Parent
 *
 * @author Liao Dongshan, 2019年06月04日
 *
 */
public class Parent {
    private Son son;
    public Parent(Son son){
        this.son=son;
    }

    public  void findLove(){
        System.out.println("父亲帮儿子找对象");
        this.son.findLove();
        System.out.println("双方满意！");
    }

}
